/*
package com.smartstate.gateway.feign.client;

import com.smartstate.gateway.feign.FeignConfig;
import com.smartstate.gateway.feign.fallback.AuthorityClientFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;

//@FeignClient(contextId="authentication" ,name = "sss-admin",configuration= FeignConfig.class, fallback = AuthorityClientFallBack.class)
public interface AuthorityClientByGateway {

    @GetMapping("/home/authentication")
    Object getAuthorityByUserId(@RequestParam("api") String api,
                                @RequestParam("referer") String referer,
                                @RequestParam("method") String method
    ,@RequestHeader("Authorization") String authorization);
}
*/
